Previous Book Contents Book Index Next

Inside Macintosh: /
QuickDraw 3D RAVE / QuickDraw 3D RAVE Reference
Constants


Color Lookup Table Types

The tableType parameter of the QAColorTableNew function specifies a color lookup table type. QuickDraw 3D RAVE currently supports these types of color lookup tables:

typedef enum TQAColorTableType {
   kQAColorTable_CL8_RGB32    = 0,
   kQAColorTable_CL4_RGB32    = 1
} TQAColorTableType;
Constant descriptions

kQAColorTable_CL8_RGB32
The color lookup table contains 256 colors, and each color occupies 32 bits of memory, with the red component in bits 23 through 16, the green component in bits 15 through 8, and the blue component in bits 7 through 0.
kQAColorTable_CL4_RGB32
The color lookup table contains 16 colors, and each color occupies 32 bits of memory, with the red component in bits 23 through 16, the green component in bits 15 through 8, and the blue component in bits 7 through 0.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
28 AUG 1996